import axios from './base'

export const auth = (obj) => {
  return axios.post('auth', obj)
}

export const register = (obj) => {
  return axios.post('/api/user/register', obj)
}

export const login = (obj) => {
  return axios.post('/api/user/login', obj)
}
